package cn.wen233.core.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * app属性
 *
 * @author wenei
 * @date 2021-10-23 12:03
 */
@ConfigurationProperties(prefix = "sunglow.support")
@Data
public class SunglowProperty {

    /**
     * 数据源 derby 或 mysql
     */
    private String dataSource;

    private String derbyDriverClassName;

    private String derbyUrl;

    private String mysqlDriverClassName;

    private String mysqlUrl;

    private String mysqlUsername;

    private String mysqlPassword;
}
